home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 2
/
Atari Mega Archive CD - Volume 2.iso
/
minix
/
up1510b.tgz
/
up1510b
/
src
/
lib
/
posix
/
mkfifo.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-07-19
|
248b
|
13 lines
#include <lib.h>
#include <sys/types.h>
#include <sys/stat.h>
PUBLIC int mkfifo(name, mode)
_CONST char *name;
int mode;
{
mode = (mode & 0777) | S_IFIFO;
return(callm1(FS, MKNOD, len(name), (int)mode, 0,
(char *)name, NIL_PTR, NIL_PTR));
}